package com.wangjiyuan.giftshuo.ui.fragment.home;

import com.wangjiyuan.giftshuo.bean.home.column.HomeBean;
import com.wangjiyuan.giftshuo.bean.home.column.ItemsBean;

import java.util.List;

import rx.Observable;

/**
 * Created by wjy on 2016/11/18.
 */

public class RecyclerContract {
    public interface RecyclerModel {
        Observable<HomeBean> loadHomeBean(int id);

        Observable<HomeBean> loadNextHomeBean(int id,int offset);
    }

    public interface RecyclerPresenter {
        void loadDateBean(int id);

        void loadNextDateBean(int id,int offset);
    }

    public interface RecyclerView {
        void loadDate(List<ItemsBean> list);

        void loadNextDate(List<ItemsBean> list);
    }
}
